package com.bsoft.gol.editor.service;

import ctd.util.annotation.RpcService;
import com.bsoft.gol.editor.editor.ImportLog;

import java.util.List;


/**
 * 导入数据日志的管理服务定义
 * @author 王智伟
 *
 */
public interface ImportLogService {
	/**
	 * 保存导入数据的日志
	 * @param log
	 * @return
	 */

	@RpcService
	ImportLog saveImportLog(ImportLog log);

	@RpcService
	void updateImportLogDownloadInfo(ImportLog log) throws InterruptedException;

	@RpcService
	public List<ImportLog> queryLogNotDownloadByDataType(String dataType);

	@RpcService
	public ImportLog getLogById(int id);
	
}
